package model.turtle;

import java.awt.Graphics2D;

/**
 * PathSegment.java is a subpart of the path.
 *
 * @author Angelica Schwartz
 *
 */
public abstract class PathSegment {

    /**
     * Constructor.
     */
    public PathSegment() {
    }

    /**
     * contains information for painting the segment.
     * subclasses will override.
     */
    public abstract void paint(Graphics2D pen);
}
